package com.zc.trendsDispatch.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场站调度策略对象 charge_station_strategy
 *
 * @author glb
 * @date 2024-02-03
 */
public class ChargeStationStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 策略ID */
    private Long id;

    /** 策略名称 */
    @Excel(name = "策略名称")
    private String strategyName;

    /** 运营商编号 */
    @Excel(name = "运营商编号")
    private String operatorCode;

    /** 场站编码 */
    @Excel(name = "场站编码")
    private String stationCode;

    /** 策略类型（字典1调度） */
    @Excel(name = "策略类型", readConverterExp = "字=典1调度")
    private int strategyType;

    private String[] deviceCodeList;

    /** 策略内容 */
    @Excel(name = "策略内容")
    private String strategyContent;

    /** 描述 */
    @Excel(name = "描述")
    private String strategyDescribe;

    /** 变压器容量 */
    @Excel(name = "变压器容量")
    private int transformerCapacity;

    /** 阈值 */
    @Excel(name = "阈值")
    private int threshold;

    /** 场站名称 */
    @Excel(name = "场站名称")
    private String chargeStationName;




    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStrategyName(String strategyName)
    {
        this.strategyName = strategyName;
    }

    public String getStrategyName()
    {
        return strategyName;
    }
    public void setOperatorCode(String operatorCode)
    {
        this.operatorCode = operatorCode;
    }

    public String getOperatorCode()
    {
        return operatorCode;
    }
    public void setStationCode(String stationCode)
    {
        this.stationCode = stationCode;
    }

    public String getStationCode()
    {
        return stationCode;
    }
    public void setStrategyType(int strategyType)
    {
        this.strategyType = strategyType;
    }

    public int getStrategyType()
    {
        return strategyType;
    }
    public void setStrategyContent(String strategyContent)
    {
        this.strategyContent = strategyContent;
    }

    public String getStrategyContent()
    {
        return strategyContent;
    }
    public void setStrategyDescribe(String strategyDescribe)
    {
        this.strategyDescribe = strategyDescribe;
    }

    public String getStrategyDescribe()
    {
        return strategyDescribe;
    }

    public String[] getDeviceCodeList() {
        return deviceCodeList;
    }

    public void setDeviceCodeList(String[] deviceCodeList) {
        this.deviceCodeList = deviceCodeList;
    }

    public int getTransformerCapacity() {
        return transformerCapacity;
    }

    public void setTransformerCapacity(int transformerCapacity) {
        this.transformerCapacity = transformerCapacity;
    }

    public int getThreshold() {
        return threshold;
    }

    public void setThreshold(int threshold) {
        this.threshold = threshold;
    }

    public String getChargeStationName() {
        return chargeStationName;
    }

    public void setChargeStationName(String chargeStationName) {
        this.chargeStationName = chargeStationName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("strategyName", getStrategyName())
            .append("operatorCode", getOperatorCode())
            .append("stationCode", getStationCode())
            .append("strategyType", getStrategyType())
            .append("strategyContent", getStrategyContent())
            .append("strategyDescribe", getStrategyDescribe())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("transformerCapacity", getTransformerCapacity())
            .append("threshold", getThreshold())
            .append("chargeStationName", getChargeStationName())
            .toString();
    }
}
